package com.yfp.client.domain.vo;

import com.yfp.client.domain.OrderCombo;
import com.yfp.client.domain.OrderDetail;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.sql.Timestamp;
import java.util.List;

/**
 * 
 * @version 1.0
 * @date 2024-05-30 10:18
 */
@Data
public class DetailVO {

    /**
     * 设备信息
     */
    @Schema(description = "设备信息")
    private DeviceInfoVO deviceInfo;
    /**
     * 订单信息
     */
    @Schema(description = "订单信息")
    private OrderCombo order;
    /**
     * 订单明细集合
     */
    @Schema(description = "订单明细集合")
    private List<OrderDetail> orderDetailList;
    /**
     * 支付时间
     */
    @Schema(description = "支付时间")
    private Timestamp payTime;

    @Schema(description = "订单类型（0小程序，1设备,  2企业订单,3余额支付）")
    private String orderType;

    @Schema(description = "截止时间")
    private Timestamp endTime;

    @Schema(description = "等待数量")
    private Integer awaitNum;

    @Schema(description = "等待时间")
    private Integer awaitTime;

    @Schema(description = "客服是否在线 1在0否")
    private Integer operationalOnlineStatus;

    @Schema(description = "客服名称")
    private String operationalName;

    @Schema(description = "客服电话")
    private String operationalMobile;

    @Schema(description = "代取状态 0没点击过  1点击过")
    private Integer replacementState;

    @Schema(description = "扫码状态0：没扫描过二维码，1：扫描过二维码")
    private Integer scannedStatus;

    @Schema(description = "订单状态：[0:其他、1：已下单、2：制作中、3：请取餐]")
    private Integer orderStatus;

    @Schema(description = "出餐口列表")
    private List<String> orderDetailWaitsOutMealList;
}